import 'package:flutter_demo/app/app.dart';
import 'package:flutter/material.dart';

//void main() {
//  new App(
//      environment: 'production',
//      baseUri: 'https://example.com'
//  ).run(runApp);


class Config {

  String environment;
  String baseUri;

  static String appName = '潘涛';

  /**
   * @param { 'local', 'daily', 'develop', 'preproduction', 'production'} env
   */
  Config( String env ) {
    this.environment = env;

    if (this.environment == 'daily') {
      this.baseUri = '';
    } else if (this.environment == 'production') {
      this.baseUri = '';
    }
  }
}